<div class="frame_addfactoryDiv">
  <form name="addcodeForm" id="addcodeForm" action="administrator<?=CHOSING_DE?>couponcode<?=CHOSING_DE?>doedit" method="post">
  <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#c8d9e9">
  	<input type="hidden" name="code" value="<?=$this->editdata->code?>" />
    <tr>
      <td width="15%" class="ri-bbgg"><span class="red">*</span> 优惠码类型：</td>
      <td width="85%" class="le">
	  	<select name="from" >
	  		<option value="facebook">facebook</option>
	  	</select>
	  </td>
    </tr>
    <tr>
      <td width="15%" class="ri-bbgg"><span class="red">*</span> 是否已使用：</td>
      <td width="85%" class="le">
	  	<?php if($this->isUsed):?>已使用<?php else:?>未使用<?php endif;?>
	  </td>
    </tr>
    <tr>
      <td width="15%" class="ri-bbgg"><span class="red">*</span> 过期时间：</td>
      <td width="85%" class="le">
	  	<input type="text" name="endtime" value="<?=date('Y-m-d',$this->editdata->endtime)?>" />
	  </td>
    </tr>
    <tr>
      <td width="15%" class="ri-bbgg"><span class="red">*</span> 赠送积分：</td>
      <td width="85%" class="le">
	  	<input type="text" name="score" value="<?=$this->editdata->score?>" />当前：<?php echo ORDER_SCORE;?> = 1美元
	  </td>
    </tr>
    <tr>
      <td colspan="2" class="se" align="center">
        <input name="button2" type="submit" class="iput" value="修改" />　　
        <input name="button" type="button" class="iput" value="返 回" onclick="commonEffection.confirmBack();" />
      </td>
    </tr>
  </table>
</div>
